<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>登录</title>
    <link rel="stylesheet" href="../../resource/element-ui/index.css">
    <script  src="../../resource/js/vue.js"></script>
    <script  src="../../resource/element-ui/index.js"></script>
    <script  src="../../resource/js/axios.js"></script>

</head>
<body>
<div id="app" style="align-content: center">
    <el-form :model="loginForm" :rules="rules" ref="loginForm" label-width="100px" >
        <el-form-item label-width="auto"  prop="username">
            <el-input   v-model="loginForm.username" placeholder="请输入用户名或手机号"></el-input>
        </el-form-item>
        <el-form-item label-width="auto"  prop="password">
            <el-input type="password" v-model="loginForm.password" placeholder="请输入密码" autocomplete="off"></el-input>
        </el-form-item>
        <el-form-item label-width="auto">
            <el-button style="width: 60%" type="primary" @click="submitForm('loginForm')">登录</el-button>
            <el-button style="width: 20%;float: right" type="success" @click="submitForm('loginForm')">注册？</el-button>
        </el-form-item>
    </el-form>
</div>
</body>
<script  src="resource/index.js"></script>
</html>
